package com.zzxy.spring1.controller;

import com.zzxy.spring1.service.impl.ITeacherService;

public class TeacherController {
    private ITeacherService teacherService;

    public ITeacherService getTeacherService() {
        return teacherService;
    }

    public void setTeacherService(ITeacherService teacherService) {
        this.teacherService = teacherService;
    }

    public void register(){
        //service
        teacherService.registerTeacher();

    }
}
